package com.fyz.aaronfjava.model.response;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * @Author：AaronF
 * @Date：2024/1/31 10:26
 * @description 异步调用返回结果
 */
@Data
public class AsyncResponse {

    /**
     * 调用成功通用码
     */
    public static final String SUCCESS_CODE = "200";
    /**
     * 调用失败通用码
     */
    public static final String FAILURE_CODE = "500";

    /**
     * 响应码
     */
    @JSONField(name = "code")
    private String code = SUCCESS_CODE;
    /**
     * 响应信息
     */
    @JSONField(name = "msg")
    private String msg;



}
